{% extends 'dish_type/dish_type_base.html' %}
{% block title %}
    新增菜品
{% endblock %}
{% block content %}
        <ol class="breadcrumb">
          <li><a href="#">首页</a></li>
          <li><a href="#">菜品管理</a></li>
          <li class="active">新增菜品</li>
        </ol>
        <form class="col-md-5" action="{{ url_for('dish_type.add_dish_type') }}" method="post">
          <div class="form-group">
              <label>
                    <input type="text" class="form-control" name="dish_type_name" placeholder="菜品名">
              </label>
          </div>
          <button type="submit" class="btn btn-primary">提交</button>
    </form>
    <ul>
        {% for message in get_flashed_messages() %}
            <li class="alert alert-danger col-md-5" role="alert">{{ message }}</li>
        {% endfor %}
    </ul>
{% endblock %}